package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.ownerContract;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: 业主合同退租费项实体
 * @author: zhaoyu
 * @date: 2023/6/12
 */
@Data
public class ContractOwnerEvictionFeeVO {
    /**
     * 费项ID
     */
    @Schema(description = "费项ID")
    @NotNull(message = "费项ID不能为空")
    private Long feeId;

    /**
     * 费项编码
     */
    @Schema(description = "费项编码")
    @NotNull(message = "费项编码不能为空")
    private String feeCode;

    /**
     * 费项名称
     */
    @Schema(description = "费项名称")
    @NotNull(message = "费项名称不能为空")
    private String feeName;

    /**
     * 操作类型
     */
    @Schema(description = "操作类型")
    @NotNull(message = "费项操作类型不能为空")
    private Integer operationType;

    /**
     * 费项金额
     */
    @Schema(description = "费项金额")
    @NotNull(message = "费项金额不能为空")
    @Min(value = 0, message = "费项金额不能小于0")
    private BigDecimal feeAmount;



}
